import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../util/image_util.dart';

class BackWidget extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return InkWell(
      onTap: () {
        Get.back();
      },
      child: Container(
        margin: const EdgeInsets.only(left: 10),
        width: 32,
        height: 32,
        padding: const EdgeInsets.all(8),
        decoration: const BoxDecoration(
            color: Color(0x20000000), shape: BoxShape.circle),
        child: loadAssetImage("icon_back"),
      ),
    );
  }
}
